home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / Biomorph 0.77 / Biomorph src / globals.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-26  |  1.2 KB  |  54 lines  |  [TEXT/ALFA]

  1. #ifndef GLOBALS_H
  2. #define GLOBALS_H
  3.  
  4. #include "complex.h"
  5. #include "mathtype.h"
  6. #include "morph.h"
  7.  
  8. // ---------------  global variables
  9.  
  10. extern MenuHandle    gAppleM;
  11. extern MenuHandle    gFileM;
  12. extern MenuHandle    gEditM;
  13. extern MenuHandle    gTypeM;    // menus
  14. extern WindowPtr    gMainWindow;
  15. extern WindowPtr    gSelectWindow;
  16. extern WindowPtr    gCurrentWindow;
  17. extern WindowPtr    gControlDialog;
  18. extern MorphProcH    gMorphProcH;
  19. extern MorphProcP    gDefaultProcP;
  20. extern MorphProcH    gDefaultProcH;        // Default morph eqn
  21. extern int            gPrintY;            // height of printing font
  22. extern int            gTypeChkItem;
  23. extern CursHandle    gCrossCursor;
  24. extern int            gSleepTime;
  25. extern BitMap        gOffBM;                // our offscreen bitmap
  26. extern GrafPort        gOffGP;                // our offscreen graphics port
  27.  
  28. // ---------------  Coordinate/image information
  29. extern MathType gXmin;
  30. extern MathType gXmax;
  31. extern MathType gYmin;
  32. extern MathType gYmax;
  33. extern MathType gCreal;
  34. extern MathType gCimag;
  35. extern MathType gCenterX;
  36. extern MathType gCenterY;
  37.  
  38. // ---------------  Functions
  39.  
  40. void Cleanup(void);        // main.c
  41.  
  42. #include "utils.h"
  43.  
  44. #include "default.h"
  45.  
  46. #include "redraw.h"
  47.  
  48. #include "trackcoords.h"
  49.  
  50. #include "offscreen.h"
  51.  
  52. #include "savepict.h"
  53.  
  54. #endif